package com.jy.api.service;

import com.jy.api.domain.CashCoupon;
import com.jy.api.signUpReq.admin.CashCouponReq;
import com.jy.api.util.Result;

import java.security.Principal;
import java.util.List;

/**
 * Created by xiaohua on 2019/1/18.
 */
public interface CashCouponService {


    Result addCashCoupon(CashCouponReq req,Principal principal);

    List<CashCoupon> findAllCoupon(String storeId);

    Result updateCouponById(CashCouponReq req);

    Result deleteCouponById(CashCouponReq req);

}
